
/* @group 
    Buttons 
*/
#aios-toolbar[orient="vertical"] toolbarbutton {
    margin: 2px 1px;
}

#aios-sbhtoolbar[iconsize="small"] toolbarbutton {
    margin: 0px 2px;
    padding: 0px;
    min-width: 0px;
    max-height: 20px;
}

#aios-sbhtoolbar[iconsize="small"] toolbarbutton image {
    margin: 0px 3px;
}
/* @end */


/* @group 
    Button-Icons 
*/
#downloads-button,
toolbarbutton.aios-tbutton:not([type="menu-button"]),
toolbarbutton.aios-tbutton[type="menu-button"] {
    list-style-image: url(icons/toolbar_darwin.png);
}

/** Downloads */
#downloads-button {
    -moz-image-region: rect(0px, 16px, 16px, 0px) !important;
}

#downloads-button[checked="true"] {
    -moz-image-region: rect(16px, 16px, 32px, 0px) !important;
}

/** Addons */
#addons-button {
    -moz-image-region: rect(0px, 32px, 16px, 16px);
}

#addons-button[checked="true"] {
    -moz-image-region: rect(16px, 32px, 32px, 16px);
}

/** MultiPanel */
#multipanel-button {
    -moz-image-region: rect(0px, 48px, 16px, 32px);
}

#multipanel-button[checked="true"] {
    -moz-image-region: rect(16px, 48px, 32px, 32px);
}

/** PageInfo */
#pageinfo-button {
    -moz-image-region: rect(0px, 64px, 16px, 48px);
}

#pageinfo-button[checked="true"] {
    -moz-image-region: rect(16px, 64px, 32px, 48px);
}

/** Console-Button */
#console-button {
    -moz-image-region: rect(0px, 96px, 16px, 80px);
}

#console-button[checked="true"] {
    -moz-image-region: rect(16px, 96px, 32px, 80px);
}

/** PanelTab */
#paneltab-button {
    -moz-image-region: rect(0px, 112px, 16px, 96px);
}

/** Sidebars-Menu */
#sidebars-button {
    -moz-image-region: rect(0px, 128px, 16px, 112px);
}

#sidebars-button dropmarker {
    display: none;
}

/** Sidebars */
#sidebars-togglebutton {
    -moz-image-region: rect(0px, 144px, 16px, 128px);
    border: none;
}

#sidebars-togglebutton[checked="true"] {
    -moz-image-region: rect(16px, 144px, 32px, 128px);
}

toolbar[mode="icons"] #sidebars-togglebutton[checked="true"]  {
    -moz-appearance: toolbarbutton;
}

#sidebars-togglebutton[checked="true"] .toolbarbutton-menubutton-button,
#sidebars-togglebutton[checked="true"] .toolbarbutton-menubutton-dropmarker {
    -moz-appearance: none;
    min-width: 0;
}

/** Autohide */
#autohide-button {
    -moz-image-region: rect(0px, 160px, 16px, 144px);
}

#autohide-button[checked="true"] {
    -moz-image-region: rect(16px, 160px, 32px, 144px);
}

/** Toolbar */
#toolbar-button {
    -moz-image-region: rect(0px, 176px, 16px, 160px);
}

#toolbar-button[checked="true"] {
    -moz-image-region: rect(16px, 176px, 32px, 160px);
}

/* @end */


/* @group 
    Menü-Icons 
*/
menuitem[key="aiosKey_panelTab1"],
menuitem[key="aiosKey_panelTab2"],
menuitem#aios-sidebar-mitem-show,
menuitem#aios-sidebar-mitem-hide,
menuitem[key="aiosKey_prefs"] {
    list-style-image: url(icons/panels_menus.png);
}

menuitem[key="aiosKey_panelTab1"] {
    -moz-image-region: rect(48px, 16px, 64px, 0px);
}

menuitem[key="aiosKey_panelTab2"] {
    -moz-image-region: rect(48px, 32px, 64px, 16px);
}

menuitem#aios-sidebar-mitem-hide {
    -moz-image-region: rect(48px, 48px, 64px, 32px);
}

menuitem#aios-sidebar-mitem-show {
    -moz-image-region: rect(48px, 64px, 64px, 48px);
}

menuitem[key="aiosKey_prefs"] {
    -moz-image-region: rect(32px, 16px, 48px, 0px);
}
/* @end */
